package pl.integration.jdbcconnector.dao;

import java.util.List;

import pl.integration.jdbcconnector.android.A_Pracownik;
import pl.integration.jdbcconnector.android.A_Uczen;
import pl.integration.jdbcconnector.android.A_Wiadomosc;
import pl.integration.jdbcconnector.exceptions.NotFoundInDbException;
import pl.integration.jdbcconnector.objects.Klasa;
import pl.integration.jdbcconnector.objects.Notatka;

public interface AndroidDao {

    /**
     * Pobranie obiektu Pracownik z bazy po loginie
     * 
     * @param login
     *            - login pracownika
     * @return
     * @throws NotFoundInDbException
     */
    public A_Pracownik getPracownik(String login) throws NotFoundInDbException;

    public List<Notatka> getNotatki(int id) throws NotFoundInDbException;
    
    public List<A_Uczen> getUczniowie(Klasa klasa) throws NotFoundInDbException;
    
    public List<A_Wiadomosc> getWiadomosci(int user) throws NotFoundInDbException;

}
